home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 July / DPPCPRO0705.ISO / Extras / NetSupport Manager / setup.exe / CLIENTLIST.SCP < prev    next >
Encoding:
Text File  |  2004-10-06  |  1.6 KB  |  63 lines

  1. // Author :        Andy Earp(NetSupport Ltd) 
  2. // File name :         Clientlist.scp
  3. // Date created :        17/08/00
  4. // Description : 
  5. //        This script will display a list of all the Clients that were found in the Client.nsm file. It will then display the number of Clients found.
  6.  
  7. Print "**********************************************"
  8. Print " "
  9. Print " This is a sample script that will display"
  10. Print " in a list all of the Clients names and "
  11. Print " transport addresses stored in the Client.nsm "
  12. Print "    file. "
  13. Wait (6)
  14.  
  15. Dim Clientlist
  16. Dim Clientname
  17.  
  18. // This next feature will find get all of the Clients found in the client.nsm file and place them into the Client list 
  19.  
  20. GetAllClients (Clientlist)
  21.  
  22. Print " "    
  23. Print "Below is a list of all known Clients:" 
  24. Print "****************************************"
  25. Print " "
  26.  
  27. Count = 0
  28.  
  29. // This loop will print the name of each Client found in the Client list 
  30.  
  31. For each Clientname in Clientlist
  32.  
  33.     Print "Client name = ", Clientname
  34.     Wait(3)
  35.     count = Count + 1
  36. Next
  37. If count = 0 then 
  38.     Print " "
  39.     Print " There were no Clients entered into the Client.nsm file."
  40.     Print " Please connect to one or more Clients to see this "
  41.     Print " script display the Client list."
  42.     Wait (5)
  43. Else
  44.     Print " "
  45.     Print "There were ", Count, " Clients found in the Client List" 
  46.     Wait (5)
  47.  
  48. Endif
  49.  
  50. Print " "
  51. Print "****************************************************"
  52. Print " "
  53. Print "To edit or view the contents of this"
  54. Print "script right mouse button click"
  55. Print "on the Script icon and select Edit" 
  56.  
  57. //Copyright ⌐ 2000
  58.  
  59.  
  60.  
  61.  
  62.  
  63.